package com.bruce.pattern.creational.abstractfactory;

/**
 * Created by bruce on 2018/11/1 20:22
 */
public class MainTest {
    public static void main(String[] args) {

        CourseFactory courseFactory = new JavaCourseFactory();

        Article article = courseFactory.getArticle();
        Video video = courseFactory.getVideo();

        video.produce();
        article.produce();




    }


}
